cmake_minimum_required(VERSION 2.6)
project(dense_mono)

include_directories("/usr/include/eigen3")

find_package(OpenCV REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS})

find_package(Sophus REQUIRED)
include_directories(${Sophus_INCLUDE_DIRS})

set(THIRD_PARTY_LIBS
    ${OpenCV_LIBS}
    ${Sophus_LIBRARIES})

add_executable(dense_mono main.cpp)

target_link_libraries(dense_mono ${THIRD_PARTY_LIBS})

install(TARGETS dense_mono RUNTIME DESTINATION bin)
